package com.quectel.cms.vo.parkingcard;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
@Schema
public class AuditOrderReq {
    /**
     * 办卡订单id
     */
    @Schema(description = "办卡订单id")
    @NotNull
    private Long orderId;
    /**
     * 审核状态 1通过 2驳回
     */
    @Schema(description = "审核状态 1通过 2驳回")
    @Range(min = 1, max = 2, message = "错误的审核状态")
    private Byte status;
    /**
     * 车位id
     */
    @Schema(description = "车位id")
    private Long carParkingSpaceId;
}
